package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Desc: 设备登记Entity
 * @author: zhouyijian
 * @Time: 2019/7/26 15:05
 * @Copyright: © 2018 杭州凯立通信有限公司 版权所有
 * @Warning: 本内容仅限于公司内部传阅, 禁止外泄或用于其它商业目的
 */
@Data
@TableName("mdm_device")
public class MdmDeviceEntity implements Serializable {
    private static final long serialVersionUID = 4896141904511425774L;

    @ApiModelProperty("设备表id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("设备imei")
    private String imei;

    @ApiModelProperty("型号")
    private String model;

    @ApiModelProperty("设备sn")
    private String sn;

    @ApiModelProperty("设备mac")
    private String mac;

    @ApiModelProperty("机构ID")
    private Integer orgId;

    @ApiModelProperty("平台:1安卓2ios3其他")
    private Integer platformId;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("分组ID")
    private Integer groupId;

    @ApiModelProperty("系统版本")
    private String version;

    @ApiModelProperty("设备归属Id(单位2个人3其他)")
    private Integer belongId;

    @ApiModelProperty("设备类型id(1手机2PDA3其他)")
    private Integer typeId;

    @ApiModelProperty("是否绑定机构:0解除绑定1绑定")
    private Integer isOrganization;

    @ApiModelProperty("是否绑定用户:0解除绑定1绑定 ")
    private Integer isUser;

    @ApiModelProperty("启用时间")
    private Date actionTime;

    @ApiModelProperty("设备是否启用:0禁用1启用")
    private String isAction;

    @ApiModelProperty("数据状态:0删除1正常")
    private String rdStatus;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("告警状态:0告警，1正常")
    private Integer state;

    @ApiModelProperty("创建人")
    private Integer createBy;

    @ApiModelProperty("创建时间/设备登记时间")
    private Date createTime;

    @ApiModelProperty("修改人")
    private Integer modifyBy;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("设备名称")
    private String deviceName;

    @ApiModelProperty("签到开始时间")
    private Date startTime;

    @ApiModelProperty("签到结束时间")
    private Date endTime;
}
